(global.webpackJsonp = global.webpackJsonp || []).push([ [ "pages/find/detail/detail" ], {
    "1fbd": function(e, t, n) {
        (function(e) {
            Object.defineProperty(t, "__esModule", {
                value: !0
            }), t.default = void 0;
            var i = {
                mixins: [ n("ebe2").tools ],
                components: {
                    empty: function() {
                        n.e("components/empty/empty").then(function() {
                            return resolve(n("6234"));
                        }.bind(null, n)).catch(n.oe);
                    },
                    vercodePopModal: function() {
                        n.e("pages/find/detail/components/vercodePop").then(function() {
                            return resolve(n("fb5e"));
                        }.bind(null, n)).catch(n.oe);
                    }
                },
                data: function() {
                    return {
                        info: {},
                        site:{},
                        recipients_id: "",
                        handle: "",
                        showSubscrilbe: !1,
                        notire: ""
                    };
                },
                methods: {
                    format: function(e) {
                        var t = e.split(" "), n = t[0].split("-"), i = t[1].split(":");
                        return "".concat(n[1], "-").concat(n[2], "\n").concat(i[0], ":").concat(i[1]);
                    },
                    getDetail: function() {
                        var t = this, n = this.recipients_id;
                        if ("" == n) return !1;
                        this.$api.orderDtlApi({
                            recipients_id: n,
                            handle: this.handle
                        }, function(n) {
                            "1" == n.code ? (e.stopPullDownRefresh(), t.info = n.data || {}) : t.$common.errorToShow(n.msg);
                        });
                    },
                    follow: function() {
                        e.navigateTo({
                            url: "/subpages/pages/official-account/official-account"
                        });
                    },
                    closeModal: function() {
                        this.showSubscrilbe = !1;
                        var e = new Date(), t = e.getFullYear() + "-" + (e.getMonth() + 1) + "-" + e.getDate();
                        this.$db.set("close-subscribe-date", t);
                    },
                    showSubscrilbes: function() {
                        if (this.showSubscrilbe = !1, this.$store.state.is_nocommission) return !1;
                        if (this.$db.get("userToken") && "1" != this.$db.get("userInfo").subscribe_status) {
                            var e = this.$db.get("close-subscribe-date");
                            if (e) {
                                var t = new Date(), n = t.getFullYear() + "-" + (t.getMonth() + 1) + "-" + t.getDate();
                                "" != this.difference(e, n) && (this.showSubscrilbe = !0);
                            } else this.showSubscrilbe = !0;
                        }
                    },
                    difference: function(e, t) {
                        var n = new Date(e), i = new Date(t).getTime() - n.getTime();
                        return Math.floor(i / 864e5) || "";
                    },
                    copyDatas: function(t) {
                      var data = ''+t.mailNo;
                      wx.setClipboardData({
                          data: data,
                          success: function (res) {
                              wx.showToast({
                                  title: '复制单号成功',
                                  icon:"none",
                                  mask:"true"
                              })
                          }
                      })
                  },
                  copyDatas2: function(t) {
                      console.log('-copyDatas-',t);
                      var data = '快递员姓名：'+t.realOrderName+'快递员电话：'+t.realOrderMobile;
                      wx.setClipboardData({
                          data: data,
                          success: function (res) {
                              wx.showToast({
                                  title: '复制快递员信息成功',
                                  icon:"none",
                                  mask:"true"
                              })
                          }
                      })
                  },
                  copyDatas3: function(t) {
                      console.log('-copyDatas-',t);
                      var data = t.sender_name+'-'+t.sender_phone+'-'+t.sender_address;
                      wx.setClipboardData({
                          data: data,
                          success: function (res) {
                              wx.showToast({
                                  title: '复制寄件信息成功',
                                  icon:"none",
                                  mask:"true"
                              })
                          }
                      })
                  },
                  copyDatas4: function(t) {
                      console.log('-copyDatas-',t);
                      var data = t.recipients_name+'-'+t.recipients_phone+'-'+t.recipients_address;
                      wx.setClipboardData({
                          data: data,
                          success: function (res) {
                              wx.showToast({
                                  title: '复制收件信息成功',
                                  icon:"none",
                                  mask:"true"
                              })
                          }
                      })
                  },
                  makePhone: function(t) {
                      var t = this;
                      e.makePhoneCall({
                          phoneNumber: t.info.realOrderMobile
                      });
                  },
                    gotoGetDetail: function(e) {
                        this.getDetail();
                    }
                },
                onLoad: function(e) {
                    this.site = this.$db.get("site");
                    var t = this;
                    this.recipients_id = e.id || "", this.handle = e.handle || "1", this.notire = e.notire || "", 
                    "1" == this.notire ? this.$api.checkNotireApi({
                        recipients_id: this.recipients_id
                    }, function(e) {
                        "1" == e.code ? "1" == e.data && t.$refs.vercodePopModule.open(t.recipients_id) : t.$common.errorToShow(e.msg);
                    }) : this.getDetail(), this.showSubscrilbes();
                },
                onPullDownRefresh: function() {
                    this.getDetail();
                }
            };
            t.default = i;
        }).call(this, n("543d").default);
    },
    6694: function(e, t, n) {
        n.d(t, "b", function() {
            return o;
        }), n.d(t, "c", function() {
            return c;
        }), n.d(t, "a", function() {
            return i;
        });
        var i = {
            empty: function() {
                return n.e("components/empty/empty").then(n.bind(null, "6234"));
            }
        }, o = function() {
            var e = this, t = (e.$createElement, e._self._c, e.info.logistics_info && e.info.logistics_info.length > 0 ? e.__map(e.info.logistics_info, function(t, n) {
                return {
                    $orig: e.__get_orig(t),
                    m0: e.format(t.time)
                };
            }) : null);
            e.$mp.data = Object.assign({}, {
                $root: {
                    l0: t
                }
            });
        }, c = [];
    },
    "98b5": function(e, t, n) {
        var i = n("a16a");
        n.n(i).a;
    },
    a16a: function(e, t, n) {},
    c2d4: function(e, t, n) {
        n.r(t);
        var i = n("6694"), o = n("fd64");
        for (var c in o) "default" !== c && function(e) {
            n.d(t, e, function() {
                return o[e];
            });
        }(c);
        n("98b5");
        var r = n("f0c5"), s = Object(r.a)(o.default, i.b, i.c, !1, null, "7d3c43ee", null, !1, i.a, void 0);
        t.default = s.exports;
    },
    df30: function(e, t, n) {
        (function(e) {
            n("98af"), i(n("66fd"));
            var t = i(n("c2d4"));
            function i(e) {
                return e && e.__esModule ? e : {
                    default: e
                };
            }
            wx.__webpack_require_UNI_MP_PLUGIN__ = n, e(t.default);
        }).call(this, n("543d").createPage);
    },
    fd64: function(e, t, n) {
        n.r(t);
        var i = n("1fbd"), o = n.n(i);
        for (var c in i) "default" !== c && function(e) {
            n.d(t, e, function() {
                return i[e];
            });
        }(c);
        t.default = o.a;
    }
}, [ [ "df30", "common/runtime", "common/vendor" ] ] ]);